package com.shunli.cterminal.model.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

import static com.examples.core.tool.utils.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;


@Schema(description = "管理后台 - ab实验-流量层分页 Request VO")
@Data
@ToString(callSuper = true)
public class LayerPageReq {

    @Schema(description = "产品标示", example = "babyNameGenerate")
    private String appId;

    @Schema(description = "分流id类型 uid;oaid", example = "2")
    private String idType;

    @Schema(description = "流量层名称", example = "芋艿")
    private String layerName;

    @Schema(description = "流量层标识", example = "7971")
    private String layerCode;

    private List<String> layerCodeList;

    @Schema(description = "参数")
    private String extraParams;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}